package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsGoods;
import com.qf.vo.GoodsAllinone;

import java.util.List;
import java.util.Map;

public interface DtsGoodsService {
    Integer findCount();


    IPage<DtsGoods> findByPage(Integer page, Integer limit, String sort, String order, String goodsSn, String name, List<Integer> brands);

    Map<String, Object> findByDetail(Integer id);

    Object update(GoodsAllinone goodsAllinone);

    Object delete(DtsGoods dtsGoods);

    Object create(GoodsAllinone goodsAllinone);
}
